import request from '@/utils/request'

const api = {
  getForecastSelect: '/forecast/getForecastSelect',
  getForecastData: '/forecast/getForecastData',
}

export default api

/**
 *
 * @description 下拉获取
 * @param parameter
 * @returns {*}
 */
export function getForecastSelect (parameter) {
  return request({
    url: api.getForecastSelect,
    method: 'get',
    params: parameter
  })
}


/**
 *
 * @description 数据获取
 * @param parameter
 * @returns {*}
 */
export function getForecastData (parameter) {
  return request({
    url: api.getForecastData,
    method: 'get',
    params: parameter
  })
}

